<template>
  <div id="app">
    <el-row class="text-left headerTitle">
      <span class="logoTxt" @click="goSearch">华甬</span>
    </el-row>
    <router-view></router-view>
  </div>
</template>
<script>
export default {
  name: "app",
  methods: {
    goSearch() {
      this.$router.push("/");
    }
  }
};
</script>

<style>
#app {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: #222222;
  text-align: center;
  /* color: #2c3e50; */
}
html,
body {
  margin: 0;
  padding: 0;
  background: #f9f9f9;
}

.logoTxt {
  margin-left: 25px;
  font-weight: bold;
  font-size: 20px;
}

.headerTitle {
  height: 60px;
  display: flex;
  align-items: center;
}

.logoTxt:hover {
  cursor: pointer;
  color: #2878ff;
  transition: all 0.6s;
}
</style>
